package com.yunxi.model.finance;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 金融计算器动态字段表
 * </p>
 *
 * @author 
 * @since 2019-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_financial_compute_columns")
@ApiModel(value="FinancialComputeColumns对象", description="金融计算器动态字段表")
public class FinancialComputeColumns implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "COLUMN_ID", type = IdType.UUID)
    private String columnId;

    @ApiModelProperty(value = "字段英文名称")
    @TableField("COLUMN_EN_NAME")
    private String columnEnName;

    @ApiModelProperty(value = "字段中文名称")
    @TableField("COLUMN_CN_NAME")
    private String columnCnName;

    @ApiModelProperty(value = "当前列的控件类型")
    @TableField("COLUMN_TYPE")
    private String columnType;

    @ApiModelProperty(value = "0启用或1禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "0显示或1隐藏")
    @TableField("IS_DISPLAY")
    private Integer isDisplay;

    @ApiModelProperty(value = "是否可编辑 1 可以 2 不可")
    @TableField("IS_EDIT")
    private Integer isEdit;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "是否特殊字段")
    @TableField("IS_SPECIAL")
    private Integer isSpecial;

    @ApiModelProperty(value = "排序")
    @TableField("ORDER_BY")
    private Integer orderBy;

    @ApiModelProperty(value = "类型（畅享车、保值车、银行分期、车电分离）")
    @TableField("TYPE")
    private String type;

    @ApiModelProperty(value = "默认值")
    @TableField("DEFAULT_VALUE")
    private BigDecimal defaultValue;
}
